package com.service.impl;

import com.entity.Role;
import com.mapper.RoleDao;
import com.service.RoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色表 服务实现类
 * </p>
 *
 * @author Damon
 * @since 2021-04-26
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleDao, Role> implements RoleService {
    @Autowired(required = false)
    private RoleDao roleDao;
    @Override
    public List<Role> listAnn() {
        System.out.println(roleDao);
        return roleDao.listAnn();
    }
}
